#include "kinect.h"
#include "kinectwinmgr.h"

namespace Tracking
{
	Kinect::Kinect() : TrackingDevice(DeviceType::KINECT)
	{
		_kinect = new KinectWinMgr(this);
		headPos = vec3f::ZERO;
	}

	Kinect::~Kinect()
	{}

	bool Kinect::init()
	{
		if(_kinect->init()){
			_running = true;
			return true;
		}
		else
			return false;
	}

	void Kinect::uninit()
	{
		_kinect->uninit();
	}

	bool Kinect::update()
	{

		return _kinect->update();
	}

}